Automattic\WooCommerce\Blocks\Domain\Services\DraftOrders S

Total Complexity 30
Dependencies 3
Dependents 1
Total lines 222
Lines of code 112
Logical lines of code 57
Comment lines 86
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
delete_expired_draft_orders()
S
51 6 27
assert_order_results()
S
57 6 17
delete_draft_order_post_status_from_args()
S
57 6 16
maybe_create_cronjobs()
S
71 3 5
ensure_draft_status_registered()
S
66 2 9
__construct()
S
81 1 3
init()
S
63 1 10
install()
S
82 1 3
register_draft_order_status()
S
74 1 4
register_draft_order_post_status()
S
76 1 4
get_post_status_properties()
S
64 1 10
append_draft_order_post_status()
S
76 1 4